package com.cbox.entity;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-05.
 */
public class Order {
    private long id;
    private long userId;
    private String userCookId;
    private String consignee;
    private short userSex;
    private String region;
    private String address;
    private String zipCode;
    private String userTelPhone;
    private String userEmail;
    private String shoppingMethod;
    private String paymentMethod;
    private short hasSend;
    private short hasReceive;
    private short status;
    private Date time;

    public Order(long id, long userId, String userCookId, String consignee, short userSex, String region, String address, String zipCode, String userTelPhone, String userEmail, String shoppingMethod, String paymentMethod, short hasSend, short hasReceive, short status, Date time) {
        this.id = id;
        this.userId = userId;
        this.userCookId = userCookId;
        this.consignee = consignee;
        this.userSex = userSex;
        this.region = region;
        this.address = address;
        this.zipCode = zipCode;
        this.userTelPhone = userTelPhone;
        this.userEmail = userEmail;
        this.shoppingMethod = shoppingMethod;
        this.paymentMethod = paymentMethod;
        this.hasSend = hasSend;
        this.hasReceive = hasReceive;
        this.status = status;
        this.time = time;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserCookId() {
        return userCookId;
    }

    public void setUserCookId(String userCookId) {
        this.userCookId = userCookId;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public short getUserSex() {
        return userSex;
    }

    public void setUserSex(short userSex) {
        this.userSex = userSex;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getUserTelPhone() {
        return userTelPhone;
    }

    public void setUserTelPhone(String userTelPhone) {
        this.userTelPhone = userTelPhone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getShoppingMethod() {
        return shoppingMethod;
    }

    public void setShoppingMethod(String shoppingMethod) {
        this.shoppingMethod = shoppingMethod;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public short getHasSend() {
        return hasSend;
    }

    public void setHasSend(short hasSend) {
        this.hasSend = hasSend;
    }

    public short getHasReceive() {
        return hasReceive;
    }

    public void setHasReceive(short hasReceive) {
        this.hasReceive = hasReceive;
    }

    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
